package com.ruoyi.common.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: feil.long
 * Date: 2015/3/17
 * Time: 20:50
 */
public class AFareValidatePnrCondition extends AbstractCondition implements Serializable {

    private static final long serialVersionUID = -5220292909281360230L;
    /**
     * 订单id(md5加密)
     */
    @JSONField (serialize = true)
    private String key;

    /**
     * 成人pnr
     */
    @JSONField (serialize = true)
    private String adlPnr;

    /**
     * 儿童pnr
     */
    @JSONField (serialize = true)
    private String chPnr;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getAdlPnr() {
        return adlPnr;
    }

    public void setAdlPnr(String adlPnr) {
        this.adlPnr = adlPnr;
    }

    public String getChPnr() {
        return chPnr;
    }

    public void setChPnr(String chPnr) {
        this.chPnr = chPnr;
    }

    @Override
    public String toString() {
        return "AFareValidatePnrCondition{" +
                "key='" + key + '\'' +
                ", adlPnr='" + adlPnr + '\'' +
                ", chPnr='" + chPnr + '\'' +
                '}';
    }
}
